<nz-header>
  <ul [nzSelectable]="false" nz-menu [nzMode]="'horizontal'">
    <li nz-menu-item routerLink="/index">
      <i class="anticon anticon-pay-circle-o"></i>
    </li>
    <li nz-menu-item routerLink="/user" [nzSelected]="router.url.startsWith('/user')">用户管理</li>
    <li nz-menu-item routerLink="/role" [nzSelected]="router.url.startsWith('/role')">角色管理</li>
    <li nz-menu-item routerLink="/menu" [nzSelected]="router.url.startsWith('/menu')">菜单管理</li>
    <li nz-menu-item routerLink="/order" [nzSelected]="router.url.startsWith('/order')">订单管理</li>
    <li class="pull-right mr60">
      <nz-dropdown>
        <a nz-dropdown>
          你好，小强 <i class="anticon anticon-down"></i>
        </a>
        <ul nz-menu nzSelectable>
          <li nz-menu-item>
            <a>个人中心</a>
          </li>
          <li nz-menu-item>
            <a (click)="logout()">注销</a>
          </li>
        </ul>
      </nz-dropdown>
    </li>
  </ul>
</nz-header>
